package cn.buk.tms.eotms.dto;

import cn.buk.tms.common.dto.base.BaseDto;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author yfdai
 */
public class AccessTokenDto extends BaseDto {

  /**
   * 获取到的凭证
   */
  @JsonProperty("access_token")
  private String accessToken;

  /**
   * 凭证有效时间，单位：秒
   */
  @JsonProperty("expires_in")
  private int expiresIn;

  public String getAccessToken() {
    return accessToken;
  }

  public void setAccessToken(String accessToken) {
    this.accessToken = accessToken;
  }

  public int getExpiresIn() {
    return expiresIn;
  }

  public void setExpiresIn(int expiresIn) {
    this.expiresIn = expiresIn;
  }
}
